Retrieve monitors from group
GET/query/objects/:id/group
Call this API to obtain the monitors within a group via the corresponding Group ID.
Request
Path Parameters
Unique identifier for the group. This Group ID is required to fetch the corresponding monitors.
Responses
- 200
- 400
- 403
- 500
Successful response. The request was processed successfully, and the status of the specified monitor is returned in the response body.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
{
"response-code": 200,
"status": "succeed",
"result": [
{
"id": 263826484,
"object.name": "aiops93"
}
]
}
The request was invalid. Possible reasons could include missing required parameters or incorrect parameter values.
- application/json
- Schema
- Example (from schema)
Schema
{
"response-code": 400,
"status": "fail",
"message": "Bad request",
"error.code": "MD031"
}
Request Forbidden. The client does not have the necessary permissions to access this resource. This may occur if the API key or token lacks the required permissions.
- application/json
- Schema
- Example (from schema)
Schema
{
"response-code": 403,
"message": "Unauthorized access: Client is not allowed to access API",
"error.code": "MD022"
}
Internal Server Error. The server encountered an unexpected condition that prevented it from fulfilling the request. This is often due to server misconfigurations or an issue with the system.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
{
"result": [
{
"response-code": 500,
"status": "fail",
"message": "Internal server exception, Possible reason: Cannot invoke \"String.length()\" because \"content\" is null",
"error.code": "MD031",
"error": "io.vertx.core.json.jackson.DatabindCodec.createParser(DatabindCodec.java:116)\n\tat io.vertx.core.json.jackson.DatabindCodec.fromString(DatabindCodec.java:90)\n\tat io.vertx.core.json.Json.decodeValue(Json.java:83)\n\tat io.vertx.core.json.Json.decodeValue(Json.java:95)\n\tat"
}
]
}